package com.mku.parkingmanagement_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mku.parkingmanagement_service.entity.Stall;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StallMapper extends BaseMapper<Stall> {

    IPage<Stall> getStallAll(Page<Stall> page, @Param("nike")String nike, @Param("card")String card);

    int setStallOrg(@Param("sid")Integer sid);
}
